ElementMulticategoryFilter(ICollection<ElementId>, Boolean)
Description:
Constructs a new instance of a filter to find elements whose category matches any of a given set of categories, with the option to instead match elements which are not of the given categories.
Constructs a new instance of a filter to find elements whose category matches any of a given set of categories, with the option to instead match elements which are not of the given categories.
Overloads (4):
ElementMulticategoryFilter(ICollection[ElementId],Boolean)
public ElementMulticategoryFilter(
ICollection<ElementId> categoryIds,
bool inverted
)
-
ICollection<ElementId>categoryIdsThe category ids to match.
-
BooleaninvertedTrue if the filter should match all elements which are not of the given categories.
-
One or more categories was not valid for filtering.
-
A non-optional argument was null